home *** CD-ROM | disk | FTP | other *** search
/ Mastering Computers 3 / Mastering Computers Vol 3.iso / Win95 / Fun&Utils / MFCMSG.EXE / CMDLEARN.H < prev    next >
Encoding:
C/C++ Source or Header  |  1995-07-01  |  710 b   |  27 lines

  1. ////////////////////////////////////////////////////////////////
  2. // CMDLEARN Copyright 1995 MSJ. 
  3. // If this program works, it was written by Paul DiLascia.
  4. // If not, I don't know who wrote it.
  5. //
  6. // CMDLEARN illustrates how MFC routes commands and messages.
  7.  
  8. #include "resource.h"
  9. #include "tracemsg.h"
  10.  
  11. //////////////////
  12. // Standard MFC application class. 
  13. // Overrides OnCmdMsg to route commands to theTracer.
  14. //
  15. class CApp : public TWinApp {
  16.    DECLARE_DYNAMIC(CApp)
  17. public:
  18.    CApp();
  19.    virtual BOOL InitInstance();
  20.    virtual BOOL OnCmdMsg(UINT, int, void*, AFX_CMDHANDLERINFO*);
  21.    //{{AFX_MSG(CApp)
  22.    afx_msg void OnAppAbout();
  23.    //}}AFX_MSG
  24.    DECLARE_MESSAGE_MAP()
  25. };
  26.  
  27.